<template>
  <t-drawer
    v-model:visible="visible"
    :show-overlay="false"
    header="提交日报"
    destroy-on-close
    size="50%"
  >
    <template #footer>
      <div flex justify-center>
        <t-button>确定</t-button>
        <t-button variant="outline" @click="visible = false"> 取消 </t-button>
      </div>
    </template>
  </t-drawer>
</template>

<script setup lang="ts">
const visible = defineModel<boolean>('visible')
</script>

<style scoped></style>
